import request from "@/plugins/request";
import axios from "axios";

var pre = "/rvhealth/employeeQuota";

if (process.env.NODE_ENV !== "development") {
    pre = '/api/rvsa/rv-health' + pre;
}

// 查询员工额度信息
export function listHealthEmployeeQuota(query) {
  return request({
    url: `${pre}/list`,
    method: 'get',
    params: query
  })
}

// 根据用户标识id 和 年度查询
export function getByUserIdAndYear(query) {
  return request({
    url: `${pre}/getByUserIdAndYear`,
    method: 'get',
    params: query
  })
}
